/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.locanet.view.exceptionhandler;

import javax.faces.context.ExceptionHandler;
import javax.faces.context.ExceptionHandlerFactory;

import com.sun.faces.context.ExceptionHandlerFactoryImpl;

/**
 *
 * @author Gabriel
 */
public class LocanetExceptionHandlerFacotry extends ExceptionHandlerFactoryImpl {
    
	private ExceptionHandlerFactory parent;
 
    public LocanetExceptionHandlerFacotry(ExceptionHandlerFactory parent) {
        this.parent = parent;
    }
    
    @Override
    public ExceptionHandler getExceptionHandler() {
        return new LocanetExceptionHandler(parent.getExceptionHandler());
    }

}
